//微信--推送列表
import React from 'react';
import { Table, Button } from 'antd';
const { Column } = Table;
class WeiXinPushList extends React.Component {
  modify = id => {};
  testSend = id => {};
  send = id => {};
  del = id => {};
  render() {
    return (
      <div>
        <Table rowKey="id">
          <Column dataIndex="" title="编号" key="id"></Column>
          <Column dataIndex="" title="内容" key="id"></Column>
          <Column dataIndex="" title="状态" key="id"></Column>
          <Column dataIndex="" title="发送时间" key="id"></Column>
          <Column
            title="操作"
            key="id"
            render={({ id }) => {
              return (
                <>
                  <Button type="link" onClick={() => this.modify(id)}>
                    修改
                  </Button>
                  <Button type="link" onClick={e => this.testSend(id)}>
                    测试发送
                  </Button>
                  <Button type="link" onClick={e => this.send(id)}>
                    发送
                  </Button>
                  <Button type="link" onClick={e => this.del(id)}>
                    删除
                  </Button>
                </>
              );
            }}
          ></Column>
        </Table>
      </div>
    );
  }
}

export default WeiXinPushList;
